package com.mzj.saas.mservice.department.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/*
 *通讯录自定义字段管理
 */
@Entity
@Table(name = "saas_custom_field_management")
public class CustomFieldManagement extends IdEntity {
    /*
     *组织id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;
    /*
     *字段名称
     */
    @Column(name = "field_name", nullable = true)
    private String fieldName;
    /*
     *字段中文名称
     */
    @Column(name = "name", nullable = true)
    private String name;
    /*
     *是否显示
     */
    @Column(name = "show_status", nullable = true)
    private Integer showStatus;
    /*
     *是否必填
     */
    @Column(name = "must_status", nullable = true)
    private Integer mustStatus;
    /*
     *新增时间
     */
    @Column(name = "create_time", nullable = true)
    private Date createTime;
    /*
     *操作人
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /*
     *最后修改人
     */
    @Column(name = "update_user_id", nullable = true)
    private String updateUserId;
    /*
     *最后操作时间
     */
    @Column(name = "last_update_time", nullable = true)
    private Date lastUpdateTime;
    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public Integer getMustStatus() {
        return mustStatus;
    }

    public void setMustStatus(Integer mustStatus) {
        this.mustStatus = mustStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

}
